package cn.hznc.domain.entity.nx;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author：Administrator
 * @Date：2024/3/28 16:58
 */
@Getter
@Setter
@TableName(value = "t_nx_program")
public class NxProgramEntity{

    /**
     * 系统编码
     */
    @Column(name = "id",type = MySqlTypeConstant.INT,length = 11 , isKey = true ,isAutoIncrement = true)
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 主程序名
     */
    @Column(name = "name",type = MySqlTypeConstant.VARCHAR , length = 50)
    @TableField("name")
    private String name;

    /**
     * 主程序耗时
     */
    @Column(name = "total_time",type = MySqlTypeConstant.DOUBLE)
    @TableField("total_time")
    private Double totalTime;

    /**
     * 主程序内码
     */
    @Column(name = "nx_program_code",type = MySqlTypeConstant.VARCHAR , length = 50)
    @TableField("nx_program_code")
    private String nxProgramCode;
}
